weighted majority voting system